package com.entor.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.entor.dao.MembershipFeeDaoI;
import com.entor.model.MembershipFee;
import com.entor.model.Msg;

@Service
public class MembershipFeeService implements BaseServiceI<MembershipFee> {

	@Autowired
	private MembershipFeeDaoI mfdi;
	
	public List<MembershipFee> find(MembershipFee t) {
		return mfdi.find(t);
	}

	public MembershipFee get(MembershipFee t) {
		// TODO Auto-generated method stub
		return null;
	}

	public Msg insert(MembershipFee t) {
		Msg m = new Msg("新增失败", false);
		//int i = mfdi.insert(t);
		int i = 1;
		if(i>0) {
			m.setMsg("新增成功");
			m.setIs(true);
		}
		return m;
	}

	public Msg batchInsert(String objs) {
		// TODO Auto-generated method stub
		return null;
	}

	public Msg edit(MembershipFee t) {
		// TODO Auto-generated method stub
		return null;
	}

	public Msg remove(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	public Msg batchRemove(String ids) {
		// TODO Auto-generated method stub
		return null;
	}

}
